//
//  JMCoustmButton.m
//  VoluntaryStar
//
//  Created by ios on 15/8/28.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import "JMCoustmButton.h"

@implementation JMCoustmButton


- (id)initWithFrame:(CGRect)frame WithNormalImage:(NSString *)image_n SelectedImage:(NSString *)image_h{
    self = [super initWithFrame:frame];
    if(self){
        [self setImage:[UIImage imageNamed:image_n] forState:UIControlStateNormal];
        [self setImage:[UIImage imageNamed:image_h? image_h :@""] forState:UIControlStateHighlighted];
    }
    return self;
}
//-(id)initWithFrame:(CGRect)frame{
//    self = [super initWithFrame:frame];
//    if(self){
//    }
//    return self;
//}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
